Solving The Lego City Train Problem